﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace VSIXModel.Entitys
{
    /// <summary>
    /// 用户
    /// </summary>
    [Table("user")]
    [Description("用户")]
    public class UserEntity: BaseEntity
    {
        [MaxLength(20)]
        [Description("账号")]
        public string Account { get; set; }
        [Description("年龄")]
        public int? Age { get; set; }
        [Description("姓别")]
        public bool Sex { get; set; }
        public decimal Amount { get; set; }
        public double Dou { get; set; }
        [Column("Faxx")]
        public float Fax { get; set; }
        [MaxLength(512)]
        public string Desc { get; set; }
        public byte[] B1 { get; set; }
        public float F1 { get; set; }
        public float? F2 { get; set; }
        public double? D1 { get; set; }
        public decimal? A1 { get; set; }
        public UserExtEntity Ext { get; set; }
    }
}
